import request from '@/utils/request'

/**
 * 获取员工列表接口方法
 * @param {object} params {page, pagesize, keyword, departmentId}
 */
export const getEmployeesAPI = (params) => {
  return request.get('/sys/user', {
    params
  })
}

export const exportExcelAPI = (params) => {
  return request.get('/sys/user/export', {
    responseType: 'blob'// 指定响应数据是二进制
  })
}
